//---------------------------------------------------------------------------
#ifndef uChoixMlH
#define uChoixMlH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include "CForm.h"
#include <ComCtrls.hpp>
#include <ExtCtrls.hpp>
#include <Buttons.hpp>
//---------------------------------------------------------------------------
typedef struct {
  AnsiString strName;
  AnsiString strPop;
  AnsiString strSmtp;
  AnsiString strUsrName;
  AnsiString strAddress;
} TParamMail;
//---------------------------------------------------------------------------
int __fastcall ChoisirCompteMail( TParamMail *pMails, int nCountMail);
//---------------------------------------------------------------------------
class TfrmChooseMail : public CForm
{
__published:	// Composants gérés par l'EDI
  TLabel *Label1;
  TPanel *Panel1;
  TListView *lvComptes;
  TBitBtn *Button1;
  TBitBtn *Button2;
  void __fastcall FormShow(TObject *Sender);
private:	// Déclarations utilisateur
public:		// Déclarations utilisateur
  __fastcall TfrmChooseMail( TParamMail *pMails, int nCountMail, TComponent* Owner = NULL);
};
//---------------------------------------------------------------------------
#endif
